home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
tex-k
/
tex-k-archive.past
/
tex-k-archive.gz
/
tex-k-archive
/
000191_worsch@ira.uka.de_Sat Jan 29 16:22:49 1994.msg
< prev
next >
Wrap
Internet Message Format
|
1994-10-11
|
2KB
Received: from iraun1.ira.uka.de by cs.umb.edu with SMTP id AA00794
(5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Sat, 29 Jan 1994 16:22:49 -0500
Received: from ira.uka.de by iraun1.ira.uka.de id <06358-0@iraun1.ira.uka.de>;
Sat, 29 Jan 1994 22:22:41 +0100
To: tex-k@cs.umb.edu
Subject: kpathsearch strategy: question/suggestion
Reply-To: worsch@ira.uka.de
Date: Sat, 29 Jan 94 22:24:24 MET
From: worsch@ira.uka.de
Sender: worsch@ira.uka.de
Message-Id: <"iraun1.ira.360:29.00.94.21.22.43"@ira.uka.de>
Hello,
while trying to find the reason of a tex core dump, I'm just looking
at the output of a 'strace tex ....' command. It seems that in the
case of an
\input fname
kpathsea first tries to find the file with 'fname.tex', i.e. '.tex' is
appended. If file 'fname.tex' is not found, then file 'fname' is
searched for. This is fine for plain tex users. But consider the case
where someone is using e.g. latex. I assume that for each .sty file
and for each .aux file which is \input the file name must be fully
specified. (Is this correct?) I.e.: fname is something like
'foobar.sty'. Now kpathsea will first try to find 'foobar.sty.tex' and
only after having searched the complete TEXINPUTS hierarchy
unsuccessfully for this file, it will try 'foobar.sty'.
Question: Is this correct? If so I'd like to make the following
Suggestion: If kpathsea has to search for an input file called 'fname'
and if 'fname' already contains a dot, then 'fname' is tried before
'fname.tex'.
Would it be possible to modify kpathsea that way? (I assume that it
would not take too much time to look for a dot. At least it should be
faster than doing approximately 30 access calls and 50 stat calls,
which is what currently happens for one unsuccessful search in
TEXINPUTS at this site.)
Thomas